#include "gimpdata.h"
#include <stdio.h>
#include <string.h>


int main(int argc, char **argv)
{
	char file_name[1024];
	FILE *f;
		
	f = fopen(argv[1], "wb");
	
	if(f == NULL)
	{
		printf("cannot open %s\n", argv[1]);
		return 0;
	}
	
	char *data = (char *) gimp_data;
	for(i = 0; i < sizeof(gimp_data); i++)
	{
		fwrite(data, 1, 1, f);
		data++;
	}
	
	fclose(f);
	
	return 0;
}
